home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / control / TaskBox.as < prev    next >
Text File  |  2011-09-19  |  11KB  |  277 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    f.h[┬º┬ºconstant(4)] extends f[┬º┬ºconstant(6)];
  33.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function()
  34.    {
  35.       super();
  36.       _global[┬º┬ºconstant(5)] = this;
  37.    }[┬º┬ºconstant(7)];
  38.    _loc2_[┬º┬ºconstant(8)] = function()
  39.    {
  40.       this[┬º┬ºconstant(9)] = false;
  41.       this[┬º┬ºconstant(10)] = new ┬º\┬º\┬ºconstant(11)┬º();
  42.       this[┬º┬ºconstant(12)][┬º┬ºconstant(13)] = _global[┬º┬ºconstant(14)];
  43.       this[┬º┬ºconstant(15)][┬º┬ºconstant(12)][┬º┬ºconstant(13)] = _global[┬º┬ºconstant(16)];
  44.       var _loc3_ = 1;
  45.       while(_loc3_ <= 6)
  46.       {
  47.          this[┬º┬ºconstant(17) + _loc3_][┬º┬ºconstant(18)] = false;
  48.          this[┬º┬ºconstant(17) + _loc3_][┬º┬ºconstant(19)][┬º┬ºconstant(18)] = false;
  49.          _loc3_ = _loc3_ + 1;
  50.       }
  51.       this[┬º┬ºconstant(20)]();
  52.       this[┬º┬ºconstant(18)] = true;
  53.    };
  54.    _loc2_[┬º┬ºconstant(21)] = function(msg)
  55.    {
  56.       this[┬º┬ºconstant(10)][┬º┬ºconstant(22)](msg);
  57.       msg[┬º┬ºconstant(23)] = true;
  58.       msg[┬º┬ºconstant(24)] = true;
  59.       this[┬º┬ºconstant(25)]();
  60.       f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(29)](this,this[┬º┬ºconstant(26)],3000,msg);
  61.    };
  62.    _loc2_[┬º┬ºconstant(30)] = function(msg, showBlink, unit)
  63.    {
  64.       if(showBlink)
  65.       {
  66.          msg[┬º┬ºconstant(31)] = true;
  67.          msg[┬º┬ºconstant(23)] = false;
  68.          msg[┬º┬ºconstant(24)] = true;
  69.          f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(29)](this,this[┬º┬ºconstant(26)],9000,msg);
  70.       }
  71.       else
  72.       {
  73.          this[┬º┬ºconstant(32)](msg);
  74.       }
  75.       this[┬º┬ºconstant(25)]();
  76.    };
  77.    _loc2_[┬º┬ºconstant(32)] = function(msg)
  78.    {
  79.       var _loc3_ = this[┬º┬ºconstant(10)][┬º┬ºconstant(33)];
  80.       var _loc2_ = 0;
  81.       while(_loc2_ < _loc3_)
  82.       {
  83.          if(this[┬º┬ºconstant(10)][_loc2_] == msg)
  84.          {
  85.             this[┬º┬ºconstant(10)][┬º┬ºconstant(34)](_loc2_,1);
  86.             break;
  87.          }
  88.          _loc2_ = _loc2_ + 1;
  89.       }
  90.    };
  91.    _loc2_[┬º┬ºconstant(26)] = function(msg)
  92.    {
  93.       msg[┬º┬ºconstant(24)] = false;
  94.       if(msg[┬º┬ºconstant(31)])
  95.       {
  96.          this[┬º┬ºconstant(32)](msg);
  97.       }
  98.       this[┬º┬ºconstant(25)]();
  99.    };
  100.    _loc2_[┬º┬ºconstant(25)] = function()
  101.    {
  102.       var _loc5_ = 1;
  103.       while(_loc5_ <= 6)
  104.       {
  105.          var _loc3_ = this[┬º┬ºconstant(17) + _loc5_];
  106.          delete _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(36)];
  107.          delete _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(37)];
  108.          delete _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(38)];
  109.          var _loc4_ = this[┬º┬ºconstant(10)][_loc5_ - 1];
  110.          _loc3_[┬º┬ºconstant(19)][┬º┬ºconstant(18)] = false;
  111.          _loc3_[┬º┬ºconstant(40)][┬º┬ºconstant(41)](_loc4_[┬º┬ºconstant(39)]);
  112.          if(_loc4_ == undefined)
  113.          {
  114.             _loc3_[┬º┬ºconstant(18)] = false;
  115.          }
  116.          else
  117.          {
  118.             _loc3_[┬º┬ºconstant(42)] = _loc4_;
  119.             _loc3_[┬º┬ºconstant(43)][┬º┬ºconstant(13)] = ┬º┬ºconstant(44);
  120.             _loc3_[┬º┬ºconstant(45)][┬º┬ºconstant(18)] = false;
  121.             _loc3_[┬º┬ºconstant(43)][┬º┬ºconstant(13)] = _loc3_[┬º┬ºconstant(42)][┬º┬ºconstant(13)];
  122.             if(_loc4_[┬º┬ºconstant(24)])
  123.             {
  124.                if(_loc4_[┬º┬ºconstant(23)])
  125.                {
  126.                   _loc3_[┬º┬ºconstant(19)][┬º┬ºconstant(46)] = _global[┬º┬ºconstant(47)];
  127.                   f[┬º┬ºconstant(27)][┬º┬ºconstant(49)][┬º┬ºconstant(50)](_loc3_[┬º┬ºconstant(19)][┬º┬ºconstant(48)],16711680,100);
  128.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(41)](┬º┬ºconstant(51));
  129.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(12)][┬º┬ºconstant(13)] = _global[┬º┬ºconstant(53)];
  130.                   _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(36)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(54)],_loc3_);
  131.                   _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(37)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(56)],_loc3_);
  132.                   _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(38)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(57)],_loc3_);
  133.                }
  134.                if(_loc4_[┬º┬ºconstant(31)])
  135.                {
  136.                   _loc3_[┬º┬ºconstant(19)][┬º┬ºconstant(46)] = _global[┬º┬ºconstant(58)];
  137.                   f[┬º┬ºconstant(27)][┬º┬ºconstant(49)][┬º┬ºconstant(50)](_loc3_[┬º┬ºconstant(19)][┬º┬ºconstant(48)],65280,100);
  138.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(41)](┬º┬ºconstant(59));
  139.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(12)][┬º┬ºconstant(13)] = _global[┬º┬ºconstant(60)];
  140.                   _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(36)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(54)],_loc3_);
  141.                   _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(37)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(56)],_loc3_);
  142.                   _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(38)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(57)],_loc3_);
  143.                }
  144.                _loc3_[┬º┬ºconstant(19)][┬º┬ºconstant(18)] = true;
  145.             }
  146.             else
  147.             {
  148.                _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(36)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(54)],_loc3_);
  149.                _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(37)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(56)],_loc3_);
  150.                _loc3_[┬º┬ºconstant(35)][┬º┬ºconstant(38)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(57)],_loc3_);
  151.                var _loc6_ = _loc3_[┬º┬ºconstant(42)][┬º┬ºconstant(61)];
  152.                if(_loc6_[┬º┬ºconstant(62)])
  153.                {
  154.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(41)](┬º┬ºconstant(59));
  155.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(12)][┬º┬ºconstant(13)] = _global[┬º┬ºconstant(63)];
  156.                }
  157.                else if(_loc6_[┬º┬ºconstant(64)])
  158.                {
  159.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(41)](┬º┬ºconstant(65));
  160.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(12)][┬º┬ºconstant(13)] = _global[┬º┬ºconstant(66)];
  161.                }
  162.                else if(!this[┬º┬ºconstant(9)])
  163.                {
  164.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(38)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(57)],_loc3_);
  165.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(41)](┬º┬ºconstant(51));
  166.                   _loc3_[┬º┬ºconstant(52)][┬º┬ºconstant(12)][┬º┬ºconstant(13)] = _global[┬º┬ºconstant(53)];
  167.                }
  168.                if(_loc3_[┬º┬ºconstant(42)][┬º┬ºconstant(67)])
  169.                {
  170.                   _loc3_[┬º┬ºconstant(68)][┬º┬ºconstant(52)][┬º┬ºconstant(41)](┬º┬ºconstant(67));
  171.                }
  172.                _loc3_[┬º┬ºconstant(68)][┬º┬ºconstant(18)] = true;
  173.             }
  174.             _loc3_[┬º┬ºconstant(18)] = true;
  175.          }
  176.          _loc5_ = _loc5_ + 1;
  177.       }
  178.       this[┬º┬ºconstant(69)]();
  179.    };
  180.    _loc2_[┬º┬ºconstant(54)] = function(mc)
  181.    {
  182.       mc[┬º┬ºconstant(41)](2);
  183.       mc[┬º┬ºconstant(45)][┬º┬ºconstant(18)] = true;
  184.    };
  185.    _loc2_[┬º┬ºconstant(56)] = function(mc)
  186.    {
  187.       mc[┬º┬ºconstant(41)](1);
  188.       mc[┬º┬ºconstant(45)][┬º┬ºconstant(18)] = false;
  189.    };
  190.    _loc2_[┬º┬ºconstant(57)] = function(mc)
  191.    {
  192.       if(_global[┬º┬ºconstant(70)][┬º┬ºconstant(71)] == 0)
  193.       {
  194.          return undefined;
  195.       }
  196.       if(_global[┬º┬ºconstant(72)][┬º┬ºconstant(73)])
  197.       {
  198.          return undefined;
  199.       }
  200.       if(_global[┬º┬ºconstant(74)])
  201.       {
  202.          return undefined;
  203.       }
  204.       if(_global[┬º┬ºconstant(75)] && _global[┬º┬ºconstant(75)][┬º┬ºconstant(76)])
  205.       {
  206.          return undefined;
  207.       }
  208.       _global[┬º┬ºconstant(78)][┬º┬ºconstant(79)](┬º┬ºconstant(77));
  209.       _global[┬º┬ºconstant(82)][┬º┬ºconstant(83)](mc[┬º┬ºconstant(42)][┬º┬ºconstant(61)][┬º┬ºconstant(81)],mc[┬º┬ºconstant(42)][┬º┬ºconstant(61)][┬º┬ºconstant(80)]);
  210.    };
  211.    _loc2_[┬º┬ºconstant(69)] = function()
  212.    {
  213.       var _loc4_ = false;
  214.       var _loc2_ = 1;
  215.       while(_loc2_ <= 6)
  216.       {
  217.          var _loc3_ = this[┬º┬ºconstant(17) + _loc2_];
  218.          if(_loc3_[┬º┬ºconstant(42)][┬º┬ºconstant(24)])
  219.          {
  220.             _loc4_ = true;
  221.             break;
  222.          }
  223.          _loc2_ = _loc2_ + 1;
  224.       }
  225.       if(_loc4_)
  226.       {
  227.          if(!this[┬º┬ºconstant(84)])
  228.          {
  229.             this[┬º┬ºconstant(85)] = 0;
  230.             this[┬º┬ºconstant(86)] = true;
  231.             this[┬º┬ºconstant(84)] = f[┬º┬ºconstant(27)][┬º┬ºconstant(28)][┬º┬ºconstant(55)](this,this[┬º┬ºconstant(87)]);
  232.          }
  233.       }
  234.       else
  235.       {
  236.          delete this[┬º┬ºconstant(84)];
  237.       }
  238.    };
  239.    _loc2_[┬º┬ºconstant(87)] = function()
  240.    {
  241.       this[┬º┬ºconstant(85)] += 40;
  242.       if(this[┬º┬ºconstant(85)] > 200)
  243.       {
  244.          this[┬º┬ºconstant(85)] = 0;
  245.          this[┬º┬ºconstant(86)] = !this[┬º┬ºconstant(86)];
  246.          var _loc2_ = 1;
  247.          while(_loc2_ <= 6)
  248.          {
  249.             var _loc3_ = this[┬º┬ºconstant(17) + _loc2_];
  250.             if(_loc3_[┬º┬ºconstant(42)][┬º┬ºconstant(24)])
  251.             {
  252.                _loc3_[┬º┬ºconstant(19)][┬º┬ºconstant(18)] = this[┬º┬ºconstant(86)];
  253.             }
  254.             _loc2_ = _loc2_ + 1;
  255.          }
  256.       }
  257.    };
  258.    _loc2_[┬º┬ºconstant(20)] = function(showRed)
  259.    {
  260.       if(this[┬º┬ºconstant(15)][┬º┬ºconstant(88)] == undefined)
  261.       {
  262.          this[┬º┬ºconstant(15)][┬º┬ºconstant(88)] = 0;
  263.       }
  264.       var _loc3_ = _global[┬º┬ºconstant(89)][┬º┬ºconstant(90)]();
  265.       if(this[┬º┬ºconstant(15)][┬º┬ºconstant(88)] == _loc3_)
  266.       {
  267.          return undefined;
  268.       }
  269.       this[┬º┬ºconstant(15)][┬º┬ºconstant(91)] = _loc3_;
  270.       this[┬º┬ºconstant(15)][┬º┬ºconstant(92)] = _loc3_ > this[┬º┬ºconstant(15)][┬º┬ºconstant(88)];
  271.       this[┬º┬ºconstant(15)][┬º┬ºconstant(93)](2);
  272.       this[┬º┬ºconstant(15)][┬º┬ºconstant(88)] = _loc3_;
  273.    };
  274.    ┬º┬ºpush(┬º┬ºconstant(94)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(7)],null,1));
  275. }
  276. §§pop();
  277.